package agency;

/**
 * @author CC小天才
 * @website www.flyskill.cn
 * @date 2021/10/6 15:31
 **/



public class GamePlayer implements IGamePlayer{

    private String name=null;

    public GamePlayer(String name) {
        this.name = name;
    }

    @Override
    public void killBoss() {
        System.out.println("kill boss");
    }

    @Override
    public void login(String username, String password) {
        System.out.println("账号:"+username+"密码："+password+"正在登陆....");
    }

    @Override
    public void upgrade() {
        System.out.println(this.name+"正在更新！");
    }
}
